package my.test.mediatorpattern.source;

/**
 * @author:许玉康
 * @Date: 2019/7/14 16:17
 */
public class ConcreteColleague1 extends Colleague {
    public  ConcreteColleague1(Mediator mediator) {
        super(mediator);
    }

    //自有方法
    public void selfMethod1() {

    }

    //依赖方法
    public void depMethod1() {
        super.mediator.doSomething1();
    }

}
